package com.maoyanjava.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data

@NoArgsConstructor
@TableName("userinfo")
public class Userinfo {
    @TableId("id")
    private int id;
    private int uid;
    private String name;
    private String sex;
    private String birthday;
    private String hobby;
    private String sign;

    public Userinfo( String name, String sex, String birthday, String hobby, String sign) {

        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
        this.hobby = hobby;
        this.sign = sign;
    }
}
